package com.yida.gwj.oracle.basic.mapper;

import com.mybatisflex.core.BaseMapper;
import com.yida.gwj.oracle.basic.domain.House;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author ml
 * @create 2018-01-09--11:33
 */
@Repository
public interface HouseMapper extends BaseMapper<House> {

	/**
	 * 根据用途查询数量
	 *
	 * @param ghyts  用途
	 * @param sfyx   是否有效
	 * @param zrzbsm 楼栋标识码
	 * @return /
	 */
	Long selectCountByGhyt(@Param("ghyts") String[] ghyts, @Param("sfyx") Integer sfyx, @Param("zrzbsm") Long zrzbsm);
}
